/**
 * R6.2
 */
import java.util.Scanner;

/**
 * @author PRosa
 * 
 */
public class Cannonball {

	/**
	 * @param args
	 */
	static double deltaT = 0.01;
	static double g = 9.81;
	static double t = 0d;
	static double v_0 = 0d;
	static double v;
	static double y = 0d;

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		System.out.print("v_0=");
		v_0 = s.nextDouble();
		v=v_0;
		System.out.println("Simulated"+"\t\t"+"Calculus");
		while (y >= 0 || t == 0) {
			t += deltaT;
			v -= g * deltaT;
			y += v * deltaT;
			
			if(t%1<=deltaT)
			{
				System.out.println(y+"\t"+doCalc(t));
			}
		}
	}

	public static double doCalc(double t) {
		return -0.5 * g * t * t + v_0 * t;
	}
}
